home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / packet / intropkt / packet14.loz < prev    next >
Text File  |  1995-04-20  |  7KB  |  121 lines

  1. INTRODUCTION TO PACKET - Part 14 - by Larry Kenney, WB9LOZ
  2.  
  3. TNC COMMANDS - continued from Part 13
  4.  
  5. MAXFRAME:  Sets the upper limit on the number of unacknowledged packets
  6. the TNC can have outstanding at any time.  (The outstanding packets are
  7. those that have been sent but have not been acknowledged.)  MAXFRAME also
  8. determines the maximum number of contiguous packets that can be sent during
  9. one transmission.  The value can be set from 1 to 7.  The best value to use
  10. depends on the frequency conditions.  The better the conditions are, the
  11. higher the value you can use.  If conditions are poor due to frequency
  12. congestion, noise, or other variables, (shown by lots of retries) MAXFRAME
  13. should be reduced to improve throughput.  The best value of MAXFRAME is
  14. determined through experimentation.  MAXFRAME of 1 should be used for best
  15. results on HF packet.
  16.  
  17. MFILTER:    This command allows you to enter up to four ASCII character
  18. codes, 0 - $7F, for the control characters that you want eliminated from
  19. your monitored packets.  Codes may be entered in either Hex or Decimal.
  20. Here are the ASCII codes for some of the more troublesome control
  21. characters found in monitored packets:
  22.    HEX   DEC   FUNCTION   POSSIBLE RESULT
  23.    $07    07   Control G  Rings your bell or "beeps" your speaker
  24.    $0C    12   Control L  Form feed - could clear your screen
  25.    $13    19   Control S  Can cause your screen to stop scrolling
  26.    $1A    26   Control Z  Can clear your screen
  27.    $1B    27   Escape     Can cause your cursor to move to a random         
  28.                           point on your screen and can raise havoc          
  29.                           with printer control.
  30. AEA has added a new code, $80, that will not allow ANY control characters
  31. to be displayed on the user's screen from monitored packets. 
  32.  
  33. MHEARD:    An immediate command that causes the TNC to display a list of
  34. stations that have been heard since the command MHCLEAR was given or the
  35. TNC was powered on. This command is useful for determining what stations
  36. can be worked from your QTH.  Stations that are heard through digipeaters
  37. are marked with an * on most TNCs.  On the AEA PK-232, the stations heard
  38. direct are marked with the *.  (Check your TNC manual.)  The maximum number
  39. of stations in the list is 18.  If more stations are heard, earlier entries
  40. are discarded.  Logging of stations heard is disabled when the PASSALL
  41. command is ON.  (See below.)  If the DAYTIME command has been used to set
  42. the date and time, entries in the MHEARD list will show the date and time
  43. the stations were heard.
  44.  
  45. PASSALL:   Causes the TNC to display packets that have invalid checksums. 
  46. The error-checking is disabled.  If PASSALL is ON, packets are accepted for
  47. display, despite checksum errors, if they consist of an even multiple of
  48. eight bits and are up to 330 bytes.  The TNC attempts to decode the address
  49. field and display the callsigns in standard format, followed by the text of
  50. the packet.  PASSALL can be useful for testing marginal paths or for
  51. operation under unusual conditions.  PASSALL is normally turned OFF.
  52.  
  53. PERSIST:   Used in conjunction with the SLOTTIME command (see below) to
  54. provide less clutter on a busy packet frequency.  As more and more TNCs
  55. are upgraded to include the PERSIST and SLOTTIME commands, fewer and fewer
  56. packet collisions will occur.  If you have these commands available in your
  57. TNC, you should set DWAIT to 0 and set these commands for use.  Note: On
  58. some TNCs, such as the PK-232, you have another command that determines
  59. whether you use DWAIT or PERSIST/SLOTTIME.  It's the PPERSIST command
  60. (with 2 P's).  Set it ON to use PERSIST/SLOTTIME; set it OFF to use DWAIT.
  61. I strongly recommend that you set PPERSIST to ON.
  62.  
  63. PERSIST specifies a threshold value for a random-number attempt to transmit. 
  64. The value ranges from 0 to 255.  0 signifies a 1/256th chance of transmitting
  65. every SLOTTIME; 255 allows the TNC to key the transmitter every SLOTTIME. 
  66. Through experimentation, it has been determined that the best value for
  67. PERSIST is in the 60 to 70 range.
  68.  
  69. SLOTTIME:  This command determines the time interval the TNC waits between
  70. generating random numbers to see if it can transmit.  This random number
  71. generation and the value of PERSIST work together to provide smoother
  72. operation on a busy packet frequency.  The SLOTTIME value may be set from
  73. 0 to 250.  Through experimentation it has been determined that the best
  74. value for SLOTTIME is in the range of 10 to 20.
  75.  
  76. SCREENLN n:  This parameter determines the length of a line of text on your
  77. computer screen.  The value may be 0 to 255, and is usually set to 40 or
  78. 80 depending on the screen display you have.  A carriage return and line
  79. feed (CR/LF) are sent to the terminal in Command and Converse modes when n
  80. characters have been displayed.  A value of zero inhibits this action. 
  81. If your computer automatically formats output lines, this feature should be
  82. disabled.
  83.  
  84. TRANS:     This is an immediate command causing the TNC to change from
  85. Command mode to Transparent Mode.  Transparent mode is used when you want
  86. to send data such as executable programs where characters in the data would
  87. conflict with the operation of the TNC.  Characters such as "Control C",
  88. "Control R", "Control S", "carriage return", "linefeed", etc. all effect
  89. the operation of the TNC when in Converse Mode.  In Transparent Mode none
  90. of the data characters affect the operation.  All eight bits of each
  91. character are sent to the radio exactly as they are received by the TNC from
  92. the computer or keyboard.  Packets are transmitted at regular intervals set
  93. by the PACTIME command or whenever a full packet of information is ready.
  94. The receiving TNC must also be in Transparent mode and nodes and digipeaters
  95. cannot be used in the transmit path.  Since the characters normally used for
  96. TNC operation have no affect in this mode, a special procedure is required
  97. to exit Transparent Mode and return to Command Mode.  Refer to your TNC
  98. operating manual for details on how this procedure is performed on your
  99. particular TNC.  You should also check your manual for information on the
  100. CMDTIME, PACTIME, START, STOP, TRFLOW, TXFLOW, XFLOW, XOFF and XON commands
  101. before using Transparent Mode.
  102.  
  103. TXDELAY n:  This parameter tells the TNC how long to wait before sending
  104. data after it has keyed the transmitter.  All transmitters need some start
  105. up time to put a signal on the air.  Some need more, some need less. 
  106. Synthesized radios and radios with mechanical relays need more time, while
  107. crystal controlled radios and radios with diode switching require less
  108. time.  External amplifiers usually require additional delay.  Experiment to
  109. determine the best value for your particular radio.  TXDELAY can also be
  110. useful to compensate for slow AGC recovery or squelch release times at the
  111. distant station.
  112.  
  113. There are many additional commands available to you.  Spend some time
  114. reading the owner's operating manual that came with your TNC to discover
  115. some of the surprises the other commands offer.  New versions of the TNC
  116. software have added several commands that you might find useful in your
  117. packet operating.
  118.  
  119. - - - -
  120.  
  121.